Bug 530454 – Clarify page_nr when printing
authorPhilip Withnall <philip@tecnocode.co.uk>
Sun, 26 Oct 2008 12:11:11 +0000 (12:11 +0000)
committerPhilip Withnall <pwithnall@src.gnome.org>
Sun, 26 Oct 2008 12:11:11 +0000 (12:11 +0000)
2008-10-26  Philip Withnall  <philip@tecnocode.co.uk>

Bug 530454 – Clarify page_nr when printing

* gtk/gtkprintoperation.c (gtk_print_operation_class_init):
Point out
that page_nr is 0-based in the documentation.

svn path=/trunk/; revision=21714

ChangeLog
gtk/gtkprintoperation.c

index 041b044bcc0ab02815aaf7d997df72eb9b8f0f86..0d7002b3a16161fda7bba8fcacfacb19057e5134 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-10-26  Philip Withnall  <philip@tecnocode.co.uk>
+
+       Bug 530454 – Clarify page_nr when printing
+
+       * gtk/gtkprintoperation.c (gtk_print_operation_class_init): Point out
+       that page_nr is 0-based in the documentation.
+
 2008-10-25  Matthias Clasen  <mclasen@redhat.com>
        
        Bug 557315 – stale clipboard target cache
index fad74d3452a4533682e9590d1424f10d5900c6de..93df6caf0dc9e10b1cfa4dce5217a0a4e4259637 100644 (file)
@@ -646,7 +646,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    * GtkPrintOperation::request-page-setup:
    * @operation: the #GtkPrintOperation on which the signal was emitted
    * @context: the #GtkPrintContext for the current operation
-   * @page_nr: the number of the currently printed page
+   * @page_nr: the number of the currently printed page (0-based)
    * @setup: the #GtkPageSetup 
    * 
    * Emitted once for every page that is printed, to give
@@ -671,7 +671,7 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
    * GtkPrintOperation::draw-page:
    * @operation: the #GtkPrintOperation on which the signal was emitted
    * @context: the #GtkPrintContext for the current operation
-   * @page_nr: the number of the currently printed page
+   * @page_nr: the number of the currently printed page (0-based)
    *
    * Emitted for every page that is printed. The signal handler
    * must render the @page_nr's page onto the cairo context obtained